<script lang="ts">
export default {
  name: "XHeader",
};
</script>
<script setup lang="ts">
defineProps<{ close: Function }>();
</script>

<template>
  <div style="display: flex; justify-content: space-around">
    <h1>头部</h1>
    <el-button type="primary" @click="close">关闭</el-button>
  </div>
</template>

<style lang="less" scoped></style>
